package com.cloudfun.campusshare.device.protocol;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * Created by Huqin on 2020/1/16
 */
@Slf4j
@Component
public class CommandRunner implements ApplicationRunner {

    @Autowired
    private AliyunIotMsgSender aliyunIotMsgSender;

    @Override
    public void run(ApplicationArguments args) throws Exception {
//        Frame frame = new CommandFactory().typeIdQuery();
//        aliyunIotMsgSender.send("GGY13-5", "a1IHsKWQMWM", "866714042578749", frame);
    }
}
